package com.kartoshka.events 
{
	import flash.events.Event;
	import flash.display.InteractiveObject;
	import flash.events.MouseEvent;

	/**
	 * @author Alexander Zats, 2009
	 */
	public class KartoshkaMouseEvent extends MouseEvent 
	{

		public static const CLICK_OUTSIDE : String = "clickOutside";

		public function KartoshkaMouseEvent(type : String, bubbles : Boolean = true, cancelable : Boolean = false, localX : Number = undefined, localY : Number = undefined, relatedObject : InteractiveObject = null, ctrlKey : Boolean = false, altKey : Boolean = false, shiftKey : Boolean = false, buttonDown : Boolean = false, delta : int = 0)
		{
			super( type, bubbles, cancelable, localX, localY, relatedObject, ctrlKey, altKey, shiftKey, buttonDown, delta );
		}

		override public function clone() : Event
		{
			return new KartoshkaMouseEvent( type, bubbles, cancelable, localX, localY, relatedObject, ctrlKey, altKey, shiftKey, buttonDown, delta );
		}

		override public function toString() : String
		{
			return super.toString( );
		}
	}
}
